﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace ChiDao.Site.Models
{
    public class PersonView
    {
        public Guid ID { get; set; }

        [Description("用户名")]
        [Required]
        public string UserName { get; set; }

        [Required]
        public string NickName { get; set; }

        [Required]
        public string Email { get; set; }

        public bool IsDeleted { get; set; }

        public DateTime AddDate { get; set; }

        public int LoginLogCount { get; set; }

        public PersonExtendView Extend { get; set; }

        public string Password { get; set; }

        public string ConfirmPassword { get; set; }

        public Guid DepartmentID { get; set; }

        public bool IsDepartmentAdmin { get; set; }
    }
}
